package com.gigi.model.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * 队伍列表出参实体
 *
 * @author Gigi
 */
@Data
public class TeamUserVO {

    @ApiModelProperty(value = "队伍id")
    private Long teamId;

    @ApiModelProperty(value = "名称")
    private String teamName;

    @ApiModelProperty(value = "描述")
    private String teamDescription;

    @ApiModelProperty(value = "最大人数")
    private Integer maxNum;

    @ApiModelProperty(value = "过期时间")
    private LocalDateTime expireTime;

    @ApiModelProperty(value = "状态（0公开 1私有 2加密）")
    private Integer teamStatus;

    @ApiModelProperty(value = "已加入人数")
    private Integer currentNum;

    @ApiModelProperty(value = "队长id")
    private Long userId;

    @ApiModelProperty(value = "队长头像")
    private String userAvatar;

    @ApiModelProperty(value = "队长昵称")
    private String userName;

    @ApiModelProperty(value = "是否是队员")
    private Boolean ifMember = false;

    @ApiModelProperty(value = "是否已过期")
    private Boolean ifExpired = false;

}
